import com.acmetelecom.BillingSystem;
import com.acmetelecom.CallEnd;
import com.acmetelecom.CallEvent;
import com.acmetelecom.CallStart;

public class Test {

	BillingSystem billingsystem;
	FackGenerator fg;
	
	private long call_start;

	private long call_end;

	private String caller;

	private String callee;

	private String cost;

	public void setCall_end(long call_end) throws Exception {
		this.call_end = call_end;
	}

	public void setCall_start(long call_start) throws Exception {
		this.call_start = call_start;
	}

	public void setCallee(String callee) throws Exception {
		this.callee = callee;
	}

	public void setCaller(String caller) throws Exception {
		this.caller = caller;
	}

	public void setCost(String cost) throws Exception {
		this.cost = cost;
	}

	public void setUp() throws Exception {
		FackGenerator fg = new FackGenerator();
		billingsystem = new BillingSystem(fg);
		
	}

	public void tearDown() throws Exception {
		CallEvent e1 = new CallStart(caller,callee,call_start);
		CallEvent e2 = new CallEnd(caller,callee,call_end);
		
		billingsystem.addCall(e1);
		billingsystem.addCall(e2);
		
		billingsystem.createCustomerBills();
		
	}

}